import type { ShopVO, CommunityVO, BuildingVO, UnitVO } from './types'

// 模拟社区数据
export const mockCommunityList = (): CommunityVO[] => [
  {
    id: 1,
    communityName: '阳光花园社区',
    communityCode: 'YG001',
    address: '北京市朝阳区阳光路123号',
    status: 1,
    statusName: '启用'
  },
  {
    id: 2,
    communityName: '绿城小区',
    communityCode: 'LC002',
    address: '北京市海淀区绿城路456号',
    status: 1,
    statusName: '启用'
  },
  {
    id: 3,
    communityName: '金桂苑',
    communityCode: 'JG003',
    address: '北京市西城区金桂路789号',
    status: 1,
    statusName: '启用'
  }
]

// 模拟楼栋数据
export const mockBuildingList = (): BuildingVO[] => [
  {
    id: 1,
    buildingName: 'A栋',
    buildingNo: 'A001',
    communityId: 1,
    communityName: '阳光花园社区',
    floorCount: 20,
    status: 1,
    statusName: '启用'
  },
  {
    id: 2,
    buildingName: 'B栋',
    buildingNo: 'B001',
    communityId: 1,
    communityName: '阳光花园社区',
    floorCount: 18,
    status: 1,
    statusName: '启用'
  },
  {
    id: 3,
    buildingName: 'C栋',
    buildingNo: 'C001',
    communityId: 2,
    communityName: '绿城小区',
    floorCount: 15,
    status: 1,
    statusName: '启用'
  }
]

// 模拟单元数据
export const mockUnitList = (): UnitVO[] => [
  {
    id: 1,
    unitName: '1单元',
    unitNo: 'U001',
    buildingId: 1,
    buildingName: 'A栋',
    floorNumber: 1,
    status: 1,
    statusName: '启用'
  },
  {
    id: 2,
    unitName: '2单元',
    unitNo: 'U002',
    buildingId: 1,
    buildingName: 'A栋',
    floorNumber: 1,
    status: 1,
    statusName: '启用'
  },
  {
    id: 3,
    unitName: '1单元',
    unitNo: 'U003',
    buildingId: 2,
    buildingName: 'B栋',
    floorNumber: 1,
    status: 1,
    statusName: '启用'
  }
]

// 模拟店铺数据
export const mockShopList = (): ShopVO[] => [
  {
    id: 1,
    shopName: '阳光餐厅',
    shopCode: 'SP001',
    shopType: 1,
    shopTypeName: '餐饮',
    communityId: 1,
    communityName: '阳光花园社区',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 1,
    unitName: '1单元',
    roomNumber: '101',
    floorNumber: 1,
    area: 120.5,
    rentPrice: 8000.00,
    contactPerson: '张经理',
    contactPhone: '13800138001',
    businessLicense: '91110000123456789X',
    status: 1,
    statusName: '启用',
    remark: '主营川菜，营业时间10:00-22:00',
    createTime: '2024-01-15 10:30:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(['/images/shop/1/exterior.jpg', '/images/shop/1/interior.jpg']),
    imageUrls: ['/images/shop/1/exterior.jpg', '/images/shop/1/interior.jpg'],
    firstImageUrl: '/images/shop/1/exterior.jpg',
    imageCount: 2
  },
  {
    id: 2,
    shopName: '绿城超市',
    shopCode: 'SP002',
    shopType: 2,
    shopTypeName: '零售',
    communityId: 1,
    communityName: '阳光花园社区',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 2,
    unitName: '2单元',
    roomNumber: '102',
    floorNumber: 1,
    area: 200.0,
    rentPrice: 12000.00,
    contactPerson: '李老板',
    contactPhone: '13800138002',
    businessLicense: '91110000123456790X',
    status: 1,
    statusName: '启用',
    remark: '24小时营业超市',
    createTime: '2024-02-10 09:15:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  },
  {
    id: 3,
    shopName: '便民洗衣店',
    shopCode: 'SP003',
    shopType: 3,
    shopTypeName: '服务',
    communityId: 1,
    communityName: '阳光花园社区',
    buildingId: 2,
    buildingName: 'B栋',
    unitId: 3,
    unitName: '1单元',
    roomNumber: '201',
    floorNumber: 2,
    area: 80.0,
    rentPrice: 5000.00,
    contactPerson: '王师傅',
    contactPhone: '13800138003',
    businessLicense: '91110000123456791X',
    status: 1,
    statusName: '启用',
    remark: '专业干洗，支持上门取送',
    createTime: '2024-03-05 14:20:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  },
  {
    id: 4,
    shopName: '美发沙龙',
    shopCode: 'SP004',
    shopType: 3,
    shopTypeName: '服务',
    communityId: 2,
    communityName: '绿城小区',
    buildingId: 3,
    buildingName: 'C栋',
    unitId: 1,
    unitName: '1单元',
    roomNumber: '301',
    floorNumber: 3,
    area: 100.0,
    rentPrice: 6000.00,
    contactPerson: '陈师傅',
    contactPhone: '13800138004',
    businessLicense: '91110000123456792X',
    status: 1,
    statusName: '启用',
    remark: '专业美发，预约制服务',
    createTime: '2024-04-12 16:45:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  },
  {
    id: 5,
    shopName: '快递代收点',
    shopCode: 'SP005',
    shopType: 4,
    shopTypeName: '其他',
    communityId: 2,
    communityName: '绿城小区',
    buildingId: 3,
    buildingName: 'C栋',
    unitId: 1,
    unitName: '1单元',
    roomNumber: '302',
    floorNumber: 3,
    area: 50.0,
    rentPrice: 3000.00,
    contactPerson: '赵经理',
    contactPhone: '13800138005',
    businessLicense: '91110000123456793X',
    status: 1,
    statusName: '启用',
    remark: '快递代收，支持多家快递公司',
    createTime: '2024-05-20 11:30:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  },
  {
    id: 6,
    shopName: '咖啡厅',
    shopCode: 'SP006',
    shopType: 1,
    shopTypeName: '餐饮',
    communityId: 3,
    communityName: '金桂苑',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 1,
    unitName: '1单元',
    roomNumber: '101',
    floorNumber: 1,
    area: 150.0,
    rentPrice: 10000.00,
    contactPerson: '刘老板',
    contactPhone: '13800138006',
    businessLicense: '91110000123456794X',
    status: 1,
    statusName: '启用',
    remark: '精品咖啡，环境优雅',
    createTime: '2024-06-08 13:20:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  },
  {
    id: 7,
    shopName: '水果店',
    shopCode: 'SP007',
    shopType: 2,
    shopTypeName: '零售',
    communityId: 3,
    communityName: '金桂苑',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 2,
    unitName: '2单元',
    roomNumber: '102',
    floorNumber: 1,
    area: 90.0,
    rentPrice: 7000.00,
    contactPerson: '孙老板',
    contactPhone: '13800138007',
    businessLicense: '91110000123456795X',
    status: 1,
    statusName: '启用',
    remark: '新鲜水果，每日进货',
    createTime: '2024-07-15 08:45:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  },
  {
    id: 8,
    shopName: '宠物医院',
    shopCode: 'SP008',
    shopType: 3,
    shopTypeName: '服务',
    communityId: 3,
    communityName: '金桂苑',
    buildingId: 1,
    buildingName: 'A栋',
    unitId: 1,
    unitName: '1单元',
    roomNumber: '201',
    floorNumber: 2,
    area: 180.0,
    rentPrice: 15000.00,
    contactPerson: '周医生',
    contactPhone: '13800138008',
    businessLicense: '91110000123456796X',
    status: 0,
    statusName: '禁用',
    remark: '专业宠物医疗，设备齐全',
    createTime: '2024-08-22 15:10:00',
    updateTime: '2024-09-30 14:20:00',
    createBy: 1,
    updateBy: 1,
    imageInfo: JSON.stringify(["/images/shop/default.jpg"]),
    imageUrls: ["/images/shop/default.jpg"],
    firstImageUrl: "/images/shop/default.jpg",
    imageCount: 1
  }
]

// 模拟店铺业主数据
export const mockShopOwnerList = () => [
  {
    id: 1,
    shopId: 1,
    shopName: '阳光餐厅',
    ownerName: '张经理',
    ownerType: 1,
    ownerTypeName: '业主',
    idCard: '110101199001011234',
    phone: '13800138001',
    email: 'zhang@example.com',
    address: '北京市朝阳区阳光路123号',
    emergencyContact: '张太太',
    emergencyPhone: '13900139001',
    startDate: '2024-01-01',
    endDate: '2024-12-31',
    deposit: 16000.00,
    status: 1,
    statusName: '正常',
    remark: '长期租赁',
    createTime: '2024-01-15 10:30:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 2,
    shopId: 2,
    shopName: '绿城超市',
    ownerName: '李老板',
    ownerType: 1,
    ownerTypeName: '业主',
    idCard: '110101199002021234',
    phone: '13800138002',
    email: 'li@example.com',
    address: '北京市朝阳区绿城路456号',
    emergencyContact: '李太太',
    emergencyPhone: '13900139002',
    startDate: '2024-02-01',
    endDate: '2025-01-31',
    deposit: 24000.00,
    status: 1,
    statusName: '正常',
    remark: '连锁超市',
    createTime: '2024-02-10 09:15:00',
    updateTime: '2024-09-30 14:20:00'
  }
]

// 模拟租金记录数据
export const mockRentRecordList = () => [
  {
    id: 1,
    shopId: 1,
    shopName: '阳光餐厅',
    ownerId: 1,
    ownerName: '张经理',
    rentAmount: 8000.00,
    rentDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: '2024-09-15',
    paymentStatus: 1,
    paymentStatusName: '已支付',
    paymentMethod: '银行转账',
    receiptNumber: 'R202409150001',
    remark: '按时支付',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-15 14:30:00'
  },
  {
    id: 2,
    shopId: 2,
    shopName: '绿城超市',
    ownerId: 2,
    ownerName: '李老板',
    rentAmount: 12000.00,
    rentDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: null,
    paymentStatus: 0,
    paymentStatusName: '未支付',
    paymentMethod: null,
    receiptNumber: null,
    remark: '待支付',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-30 14:20:00'
  }
]

// 模拟费用记录数据
export const mockFeeRecordList = () => [
  {
    id: 1,
    shopId: 1,
    shopName: '阳光餐厅',
    feeType: 'PROPERTY',
    feeTypeName: '物业费',
    feeAmount: 1200.00,
    feeDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: '2024-09-20',
    paymentStatus: 1,
    paymentStatusName: '已支付',
    paymentMethod: '支付宝',
    receiptNumber: 'F202409200001',
    remark: '物业费',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-20 16:45:00'
  },
  {
    id: 2,
    shopId: 1,
    shopName: '阳光餐厅',
    feeType: 'WATER',
    feeTypeName: '水费',
    feeAmount: 350.00,
    feeDate: '2024-09-01',
    dueDate: '2024-09-30',
    paymentDate: null,
    paymentStatus: 0,
    paymentStatusName: '未支付',
    paymentMethod: null,
    receiptNumber: null,
    remark: '水费',
    createTime: '2024-09-01 10:00:00',
    updateTime: '2024-09-30 14:20:00'
  }
]

// 模拟费用标准数据
export const mockFeeStandardList = () => [
  {
    id: 1,
    shopId: 1,
    shopName: '阳光餐厅',
    feeType: 'PROPERTY',
    feeTypeName: '物业费',
    feeAmount: 10.00,
    startDate: '2024-01-01',
    endDate: '2024-12-31',
    status: 1,
    statusName: '启用',
    remark: '按面积计费',
    createTime: '2024-01-01 10:00:00',
    updateTime: '2024-09-30 14:20:00'
  },
  {
    id: 2,
    shopId: 1,
    shopName: '阳光餐厅',
    feeType: 'WATER',
    feeTypeName: '水费',
    feeAmount: 3.50,
    startDate: '2024-01-01',
    endDate: '2024-12-31',
    status: 1,
    statusName: '启用',
    remark: '按用量计费',
    createTime: '2024-01-01 10:00:00',
    updateTime: '2024-09-30 14:20:00'
  }
]
